package com.anli.aopparam;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * @date: 2022-07-14 23:17:03
 * @description:
 **/
@RestController
public class TestAopParamController {

    @RequestMapping("testAop")
    @UpDateParam(paramName = "projectId",paramIndex = 0)
    public void test01(@RequestParam("projectId") String projectId){

        System.out.println("============="+projectId);

    }

    @RequestMapping("testAop2")
    public void test02(@RequestParam("projectId") String projectId){

        System.out.println("============="+projectId);

    }

}
